package cn.gok.common.entity.backstage;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author: DxlinY
 * @apiNote: 商品头条资讯实体类
 * @date: 2020/9/27
 * @time: 10:53
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("g_article")
public class Article {

    @TableId(value = "ARTICLE_ID",type = IdType.AUTO)
    private Short articleId;

    @TableField("ARTICLE_TITLE")
    private String articleTitle;

    @TableField("PREF_TITLE")
    private String prefTitle;

    @TableField("KEYWORDS")
    private String keywords;

    @TableField("AUTHOR")
    private String author;

    @TableField("ARTICLE_TYPE")
    private Integer articleType;

    @TableField("ARTICLE_COLUMN")
    private Integer articleColumn;

    @TableField("ARTICLE_SORT")
    private Integer articleSort;

    @TableField("SOURCE")
    private String source;

    @TableField("LINK_URL")
    private String linkUrl;

    @TableField("ALLOW_COMMENTS")
    private Boolean allowComments;

    @TableField("COMMENT_BEGIN_TIME")
    private String commentBeginTime;

    @TableField("COMMENT_END_TIME")
    private String commentEndTime;

    @TableField("CLICK_COUNT")
    private Integer clickCount;

    @TableField("REVIEW_STATUS")
    private Integer reviewStatus;

    @TableField("IS_ENABLED")
    private Boolean isEnabled;

    @TableField("CREATE_TIME")
    private Date createTime;

    @TableField("CREATE_BY")
    private String createBy;

    @TableField("UPDATE_TIME")
    private String updateTime;

    @TableField("UPDATE_BY")
    private String updateBy;

    @TableField("ABSTRACTS")
    private String abstracts;

    @TableField("CONTENT")
    private String content;



}